<template>
    <div class="logo" @click="$router.push('/main/home')">
            <i class="logo-pic"></i>
            <i class="logo-word">CodePilot</i>
    </div>
</template>

<script>
</script>

<style lang="scss">
.logo {
    float: left;
    width: 174px;
    height: 52px;
    background-color: transparent;
    position: relative;
    z-index: 9999;
    margin-right: 300px;
    margin-left: 100px;
    margin-top: 8px;
    cursor: pointer;

    .logo-pic {
        position: absolute;
        display: block;
        background: url(../assets/logoTrans.png) no-repeat -9px -9px;
        background-size: 70px 70px;
        width: 52px;
        height: 52px;
    }

    .logo-word {
        position: absolute;
        font-style: normal;
        right: 0;
        display: block;
        color: #9A6F4A;
        font-size: 28px;
        font-weight: normal;
        margin-top: 12px;
        margin-left: 6px;
    }
}
</style>